package zhr;

public class ex3_1_6 {
    public static void main(String[] args) {
        int x=5,y=8,z=2;
        int k=x<3?y:z;
        System.out.println(k);
        int j=x>0?x:-x;
        System.out.println(j);
    }
}
